﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" culture="auto" meta:resourcekey="PageResource1" uiculture="auto" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:HyperLink ID="lnkHome" runat="server" meta:resourcekey="lnkHomeResource1" 
            NavigateUrl="~/Default.aspx" Text="Home "></asp:HyperLink>
          <asp:HyperLink ID="lnkLogin" runat="server" 
            meta:resourcekey="lnkLoginResource1" NavigateUrl="~/Login.aspx" Text=" Login "></asp:HyperLink>
        <asp:HyperLink ID="lnkAdmin" runat="server" 
            meta:resourcekey="lnkAdminResource1" NavigateUrl="~/Admin.aspx" Text=" Admin "></asp:HyperLink>
        <asp:HyperLink ID="lnkSignout" runat="server" 
            meta:resourcekey="lnkSignoutResource1" NavigateUrl="~/SignOut.aspx" 
            Text=" Sign Out "></asp:HyperLink>
        <asp:Button ID="btnEnglish" runat="server" Text="English" 
            meta:resourcekey="btnEnglishResource1" onclick="btnEnglish_Click" />
        <asp:Button ID="btnVietnamese" runat="server" Text="Vietnamese" 
            meta:resourcekey="btnVietnameseResource1" onclick="btnVietnamese_Click" />           
        <asp:DataList ID="dtlPost" runat="server">                        
                        <ItemTemplate>                         
                                <h2><b><%#DataBinder.Eval(Container.DataItem, "Title")%></b></h2>
                                <br />                                
                                Date: <%#DataBinder.Eval(Container.DataItem, "PostingDate")%>                                  
                                <br />
                                <%#DataBinder.Eval(Container.DataItem, "Summary")%>
                                <br />
                                <%#DataBinder.Eval(Container.DataItem, "Content")%>
                                <hr />
                        </ItemTemplate>
                        <FooterTemplate>                         
                        </FooterTemplate>
        </asp:DataList>          
    </div>
    </form>
</body>
</html>
